import axios from "./axios";

export function mvDetailF(mvid) {
  return axios({
    url: "/mv/detail",
    params: {
      mvid,
    },
  });
}

export function mvDetailInfoF(mvid) {
  return axios({
    url: "/mv/detail/info",
    params: {
      mvid,
    },
  });
}

export function mvUrlF(id, r) {
  return axios({
    url: "/mv/url",
    params: {
      id,
      r,
    },
  });
}

export function mvComment(id, limit, offset, before) {
  return axios({
    url: "/comment/mv",
    params: {
      id,
      limit,
      offset,
      before,
    },
  });
}

export function mvSimi(mvid) {
  return axios({
    url: "/simi/mv",
    params: {
      mvid,
    },
  });
}

export function allvideo(id) {
  return axios({
    url: "/related/allvideo",
    params: {
      id,
    },
  });
}
